<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <link rel="icon" th:href="@{'/static/images/favicon.ico'}">
</head>
<body>
<p>首页</p>
<!--[[@{/}]] ''-->
</body>
<script >
    var path = /*[[@{/}]]*/ '';
    var path2 = /*[[@{/static/images/favicon.ico}]]*/ '';
    console.log(path);
    console.log(path2)
</script>
</html>